function urldata(aa) {
	var params = new GetRequest();
	var bb = decodeURI(params[aa]);
	if (bb == null || bb == 'undefined' || bb == undefined || bb == 'null') {
		bb = '';
	}
	return bb;
}

function GetRequest() {
 var vars = {}, hash;
 var index_jinhao = window.location.href.indexOf('#');
 var str = window.location.href.slice(window.location.href.indexOf('?') + 1);
 if (index_jinhao != -1) {
  str = window.location.href.slice(window.location.href.indexOf('?') + 1,
   window.location.href.indexOf('#'));
 }
 var hashes = str.split('&');
 for (var i = 0; i < hashes.length; i++) {
  hash = hashes[i].split('=');
  vars[hash[0]] = hash[1];
 }
 return vars;
};